#ifndef __Chg_Voltage_Current_C
#define __Chg_Voltage_Current_C

#include "Chg_Voltage_Current.h"

void ADC_ChgUI_Init(void){
    GPIO_Config_T   gpioConfig;	
    /* Enable GPIOA clock */
    RCM_EnableAPB2PeriphClock(ChgU_RTC);

    /* ADC channel 0 configuration */
    GPIO_ConfigStructInit(&gpioConfig);
    gpioConfig.mode    = GPIO_MODE_ANALOG;
    gpioConfig.speed   = GPIO_SPEED_50MHz;
    gpioConfig.pin     = ChgU_PinId | ChgI_PinId;
    GPIO_Config(ChgU_PinPort, &gpioConfig);
		
}

#endif

